Release 10.1A: OpenEdge Development:
.NET Open Clients


Class factory methods

ProxyGen generates two class factory methods.

SubAppObject

The following method allows AppObjects to create SubAppObjects that share an AppServer connection with an existing AppObject:

public SubAppObject CreateAO_SubAppObject() 

For example, a SubAppObject named Tax defined in ProxyGen generates this .NET method:

public Tax CreateAO_Tax()  

ProcObject

The following method allows AppObjects or SubAppObjects to create ProcObjects that share an AppServer connection with an existing AppObject or SubAppObject:

public ProcObject CreatePO_ProcObject() 

For example, a persistent procedure AccountInfo.p added in ProxyGen generates this .NET method:

public AccountInfo CreatePO_AccountInfo() 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095